-- GENERATED SPELL FOR [Lordaeron Footsoldier] --


function spell0_31254(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31254', 621, 1)
end

function Sorts_31254(pUnit, Event)
local choix_sorts_31254 = math.random(0, 0)
if choix_sorts_31254 == 0 then
pUnit:RegisterEvent('spell0_31254', 1, 1)
end
end

function mob31254_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31254', math.random(1500, 3000), 1)
end

function mob31254_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31254_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31254_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31254, 1, 'mob31254_Action')
RegisterUnitEvent(31254, 2, 'mob31254_Leave')
RegisterUnitEvent(31254, 3, 'mob31254_Kill')
RegisterUnitEvent(31254, 4, 'mob31254_Die')
